// src/interfaces/Translator.ts
export interface Translator {
  translate(text: string, targetLang: string): Promise<TranslationResponse|null>;
  getName():string
  valid():boolean
}

export interface TranslationResponse {
  translation: string;
  definition?: string;
  sourceLang?: string;
  error?: string;
}